package com.fzf.blog.modules.admin.service;

import java.util.List;
import java.util.Map;

import com.fzf.blog.core.util.ReType;
import com.fzf.blog.modules.admin.model.RResource;
import io.swagger.models.auth.In;

public interface ResourceService {

    int deleteByPrimaryKey(Integer id);

    int insert(RResource record);

    int insertSelective(RResource record);

    RResource selectByPrimaryKey(Integer id);

    /**
     * 模糊查询
     *
     * @param map
     * @return
     */
    List<RResource> selectLikeResourceListByPage(Map<String, Object> map);


    List<?> selectResourceListByStatus();

    int updateByPrimaryKeySelective(RResource record);

    int updateByPrimaryKey(RResource record);

    Map<String, List<RResource>>  selectAllCourse(String type);

    List<RResource> selectAll(Integer page,Integer limit);

    List<RResource> selectBySearchWord(String searchWord);
}
